home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / sd11.zip / SHFTDOWN.DOC next >
Text File  |  1991-03-13  |  4KB  |  97 lines

  1.                           ShiftDown 1.0
  2.                A Utility For Using Some QuickBBS Doors
  3.                           with RemoteAccess
  4.  
  5.                              by Eric Vice
  6.                         1:249/310@fidonet.org
  7.  
  8.      
  9.      INTRODUCTION & DISCLAIMER
  10.      -------------------------
  11.  
  12.      You've  heard  it all before.   It if breaks,  you own  both 
  13.      pieces.   I assume NO liability for any damage this  program 
  14.      may  cause you.   I wrote it inside of half an  hour.   I've 
  15.      tested  it THOROUGHLY,  and it works just FINE on my system, 
  16.      but  that  doesn't  mean that I guarantee it  will  work  on 
  17.      yours.   You get what you pay for, and this program is FREE.  
  18.      It is written in Turbo Pascal 5.5. 
  19.  
  20.      THE DILEMMA
  21.      -----------
  22.  
  23.      QuickBBS  is  a great BBS  program.   RemoteAccess  is  even 
  24.      better.   QuickBBS  has  access  levels  from  0  to  32000.  
  25.      RemoteAccess  has  access levels from 0 to 64000.   To  save 
  26.      some  of the non tech people who are reading this a  lot  of 
  27.      grief, I'll try to brief and explain this in layman's terms.
  28.  
  29.      A  lot of QuickBBS doors read the user's security level from 
  30.      DORINFO1.DEF.   The doors authors defined the security level 
  31.      as a "short integer".   This assumes that the number will be 
  32.      between  0 and 32000.   If someone uses the door who has  an 
  33.      access level over 32000,  different things MAY  happen,  not 
  34.      the least of which, may be a resulting system crash.
  35.  
  36.      WHAT IT DOES
  37.      ------------
  38.  
  39.      SHFTDOWN  is run in your door batch file(s) BEFORE the  door 
  40.      is  loaded,  but AFTER the door converter (if you have one).  
  41.      It  skims  through your DORINFO1.DEF and "shifts  down"  the 
  42.      access  level  =only=  if the access level it  finds  is  an 
  43.      "illegal" QuickBBS access level (i.e.  over 32000).  When it 
  44.      finds  such an access level,  it changes it to  the  maximum 
  45.      allowable  QuickBBS  access level (32000).   If  the  access 
  46.      level  it finds is lower than 32000,  it does  nothing,  and 
  47.      leaves it where it is.
  48.  
  49.      AN EXAMPLE
  50.      ----------
  51.  
  52.      I  wrote this program so that I could use RAD v2.03  (Remote 
  53.      Access  Database  by Harvey Parisien,  an  EXCELLENT  multi-
  54.      purpose online database door) with RemoteAccess.   My  batch 
  55.      file, which I run from a Type 7 exit, looks like this:
  56.  
  57.      @ECHO OFF
  58.      D:
  59.      CD \RA
  60.      SHFTDOWN
  61.      COPY DORINFO1.DEF D:\DOORS\RAD
  62.      CD \DOORS\RAD
  63.      RADPLUS
  64.      CD \RA
  65.      
  66.      DISTRIBUTION POLICY
  67.      -------------------
  68.  
  69.      This program is freeware.  Took me less than a day to write
  70.      it, so I hardly expect people to pay for it.  If it saves you
  71.      a system crash, drop me a netmail at the address on the masthead
  72.      with a word of thanks.  That's all I request.
  73.  
  74.      HISTORY (FOR THOSE WHO CARE)
  75.      ----------------------------
  76.  
  77.      1.0  The initial release
  78.  
  79.      1.1  I was in =much= too much of a hurry to get 1.0 "out the 
  80.           door".  The routine that checked to see if DORINFO1.DEF 
  81.           was  there  to begin with would always show a  negative 
  82.           value,  even if the file WAS there, and would cause the 
  83.           program  to  hang,  causing  the same  error  that  the 
  84.           program was trying to avoid to begin with (but alas, in 
  85.           most cases, in a much more civilized language) :-)
  86.  
  87.           Fixed!
  88.  
  89.  
  90.      QuickBBS  is  a  trademark of Richard  Creighton  and  Steve 
  91.      Gabrilowitz.
  92.  
  93.      RemoteAccess is a trademark of Andrew Milner and Continental 
  94.      Software.
  95.  
  96.      Turbo Pascal is a trademark of Borland International.
  97.